package com.ymatou.iapi.couponservice.service;

import com.ymatou.iapi.coupon.parameter.old.VirtualCouponCodeList;
import com.ymt.base.YmatouBaseCall;
import com.ymt.core.tool.FormatUtil;
import com.ymttest.utils.EnvSetup;
/**
*更新核销标记接口Call
*FreeMaker Template自动生成代码
*/
public class UpdateCancelFlagCall extends YmatouBaseCall{
	private static String opurl ="api/VirtualCoupon/UpdateCancelFlag";
	
	public UpdateCancelFlagCall() {
		super(EnvSetup.getSystemUrl("couponservice"),opurl,"POST","JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	
	public String getStatusCode1() {
		return getString("StatusCode");
	}

	public String getMessage() {
		return getString("Message");
	}

	public String getData() {
		return getString("Data");
	}

}